<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>JavaScript代码是一系列语句</title>
</head>

<body>
    <h2>JavaScript 语句</h2>
    <p>在 HTML 中，JavaScript 语句由浏览器执行。</p>
    <p id="demo"></p>
    <script>
        document.getElementById("demo").innerHTML = "Hello";
    </script>
</body>

</html>